import request from '@/utils/request'


   //获取合格证申请详细
   export function getCertificateApplication(data) {
    return request({
      url: '/pc/project/certificate_application_third_audit_opinion/get_certificate_application',
      method: 'POST',
      formData: data
    })
  }

//保存项目合格证申请要件审查市局意见(耕保处经办人意见)
export function saveAgentOpinion(data) {
    return request({
      url: '/pc/project/certificate_application_third_audit_opinion/save_agent_opinion',
      method: 'POST',
      data
    })
  }

  //保存项目合格证申请要件审查市局意见(耕保处审核人意见)
export function saveAuditorOpinion(data) {
    return request({
      url: '/pc/project/certificate_application_third_audit_opinion/save_auditor_opinion',
      method: 'POST',
      data
    })
  }

    //保存项目合格证申请要件审查市局意见(局领导意见)
export function saveBureauLeaderOpinion(data) {
    return request({
      url: '/pc/project/certificate_application_third_audit_opinion/save_bureau_leader_opinion',
      method: 'POST',
      data
    })
  }

   //查询意见
   export function queryOpinion(data) {
    return request({
      url: '/pc/project/certificate_application_third_audit_opinion/queryOpinion',
      method: 'POST',
      formData: data
    })
  }
//查询意见表
  export function getSpTable(data) {
    return request({
      url: '/pc/project/certificate_application_third_audit_opinion/query_file_data',
      method: 'POST',
      formData: data
    })
  }

  //查询意见表
  export function getYjTable(data) {
    return request({
      url: '/pc/project/certificate_application_second_audit_opinion/queryOpinionFile',
      method: 'POST',
      formData: data
    })
  }

//获取审核意见类型
export function getOpinionType() {
  return request({
    url: '/pc/project/early_mapping_result/second_audit/14_get_file_Opinion_type',
    method: 'POST',
  })
}

//综合监管信息
export function supervisingInfo(data) {
  return request({
    url: '/pc/project/certificate_application_third_audit_opinion/supervising_info',
    method: 'POST',
    data
  })
}

//综合监管信息
export function supervisingCheck(data) {
  return request({
    url: '/pc/project/certificate_application_third_audit_opinion/supervising_check',
    method: 'POST',
    data
  })
}
